home *** CD-ROM | disk | FTP | other *** search
/ PC Media 4 / PC MEDIA CD04.iso / share / prog / rzsz0717 / sz.doc < prev    next >
Encoding:
Text File  |  1994-07-16  |  24.1 KB  |  595 lines

  1.  
  2.  
  3.  
  4.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       sx, sb, sz - Send Files with ZMODEM, YMODEM, or XMODEM
  10.       zcommand, zcommandi -    Send Commands with ZMODEM
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       sz [-++++aaaabbbbddddeeeeffffkkkkLLLLllllNNNNnnnnooooppppttttuuuuvvvvxxxxyyyyYYYYZZZZ] _f_i_l_e ...
  14.       sb [-ddddffffkkkkttttuuuuvvvv] _f_i_l_e ...
  15.       sx [-kkkkttttuuuuvvvv] _f_i_l_e
  16.       zcommand [-oooottttvvvv] CCCCOOOOMMMMMMMMAAAANNNNDDDD
  17.       zcommandi [-oooottttvvvv] CCCCOOOOMMMMMMMMAAAANNNNDDDD
  18.       sz -T
  19.  
  20.  
  21.      LLLLIIIICCCCEEEENNNNSSSSEEEE AAAAGGGGRRRREEEEEEEEMMMMEEEENNNNTTTT
  22.       This is a copyrighted    shareware program.  Commercial use of
  23.       this program is subject to licensing conditions detailed in
  24.       the rz.c source code.     "Commercial Use" includes any use of
  25.       this program to send files to    a commercial or    shareware
  26.       program not published    or licensed by Omen Technology INC.
  27.  
  28.       Registration information is provided in the file mailer.rz.
  29.  
  30.       Use of this program constitutes agreement to the License
  31.       Agreement.
  32.  
  33.      SSSSUUUUPPPPPPPPOOOORRRRTTTT
  34.       Unregistered users may dial 900-737-7836 (900-737-RTFM) for
  35.       technical assistance.     There is a charge of $4.69 per    minute
  36.       to use this support line.  Callers must be 18    years or
  37.       older.
  38.  
  39.       Registered users encountering    problems using this program on
  40.       standard serial ports    to transfer files with Professional-
  41.       YAM or ZCOMM may call    the support number listed in the
  42.       Professional-YAM/ZCOMM documentation.
  43.  
  44.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  45.       SSSSzzzz (send ZMODEM) uses    the ZMODEM, YMODEM or XMODEM error
  46.       correcting protocol to send one or more files    over a dial-in
  47.       serial port to a variety of programs running under PC-DOS,
  48.       CP/M,    Unix, VMS, and other operating systems.
  49.  
  50.       To obtain the    maximum    performance and    full functionality of
  51.       this program we recommend its    use with GSZ, Professional-YAM
  52.       or ZCOMM.
  53.  
  54.       This program is intended to interface    with terminal
  55.       programs, not    to act as one.    This program is    not designed
  56.       to be    called from _c_u(_1) _t_i_p(_1), or other communications
  57.       programs.  Unix flavors of Omen Technology's Professional-
  58.       YAM communications software are available for    dial-out
  59.       applications.     Unix Professional-YAM supports    dial-out
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 7/17/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  71.  
  72.  
  73.  
  74.       applications with telephone directory, a powerful script
  75.       language with    learn function,    high quality multiple protocol
  76.       support, and UUCP port arbitration.
  77.  
  78.       SSSSzzzz sends one or more files with ZMODEM protocol.
  79.  
  80.       ZMODEM greatly simplifies file transfers compared to XMODEM.
  81.       In addition to a friendly user interface, ZMODEM provides
  82.       Personal Computer and    other users an efficient, accurate,
  83.       and robust file transfer method.
  84.  
  85.       ZMODEM provides complete EEEENNNNDDDD----TTTTOOOO----EEEENNNNDDDD data integrity between
  86.       application programs.     ZMODEM's 32 bit CRC catches errors
  87.       that sneak into even the most    advanced networks.
  88.  
  89.       Advanced file    management features include AutoDownload
  90.       (Automatic file Download initiated without user
  91.       intervention), Display of individual and total file lengths
  92.       and transmission time    estimates, Crash Recovery, selective
  93.       file transfers, and preservation of exact file date and
  94.       length.
  95.  
  96.       The ----yyyy option    instructs the receiver to open the file    for
  97.       writing unconditionally.  The    ----aaaa option causes the receiver
  98.       to convert Unix newlines to PC-DOS carriage returns and
  99.       linefeeds.
  100.  
  101.  
  102.       SSSSbbbb sends one or more files with YMODEM or ZMODEM protocol.
  103.       The initial ZMODEM initialization is not sent.  When
  104.       requested by the receiver, ssssbbbb    supports YYYYMMMMOOOODDDDEEEEMMMM----gggg with
  105.       "cbreak" tty mode, XON/XOFF flow control, and    interrupt
  106.       character set    to CAN (^X).  YYYYMMMMOOOODDDDEEEEMMMM----gggg (Professional-YAM gggg
  107.       option) increases YMODEM throughput over error free channels
  108.       (direct connection, X.PC, etc.) by disabling error recovery.
  109.  
  110.       On Unix systems, additional information about    the file is
  111.       transmitted.    If the receiving program uses this
  112.       information, the transmitted file length controls the    exact
  113.       number of bytes written to the output    dataset, and the
  114.       modify time and file mode are    set accordingly.
  115.  
  116.  
  117.       SSSSxxxx sends a single _f_i_l_e with XXXXMMMMOOOODDDDEEEEMMMM or    XXXXMMMMOOOODDDDEEEEMMMM----1111kkkk protocol
  118.       (sometimes incorrectly called    "ymodem").  The    user must
  119.       supply the file name to both sending and receiving programs.
  120.  
  121.       Iff sssszzzz is invoked with $SHELL    set and    iff that variable
  122.       contains the string _r_s_h or _r_k_s_h (restricted shell), sssszzzz
  123.       operates in restricted mode.    Restricted mode    restricts
  124.       pathnames to the current directory and PUBDIR    (usually
  125.       /usr/spool/uucppublic) and/or    subdirectories thereof.
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 7/17/94)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  137.  
  138.  
  139.  
  140.       The fourth form sends    a single COMMAND to a ZMODEM receiver
  141.       for execution.  ZZZZccccoooommmmmmmmaaaannnndddd exits with the COMMAND return
  142.       value.  If COMMAND includes spaces or    characters special to
  143.       the shell, it    must be    quoted.
  144.  
  145.  
  146.       The fifth form sends a single    COMMAND    to a ZMODEM receiver
  147.       for execution.  ZZZZccccoooommmmmmmmaaaannnnddddiiii exits as soon as the receiver has
  148.       correctly received the command, before it is executed.
  149.  
  150.  
  151.       The sixth form (sz -T) outputs all 256 code combinations to
  152.       the terminal.     The hex value of the character, a space, and
  153.       the raw character are    sent, 8    per line.  In you are having
  154.       difficulty sending files, this command lets you see which
  155.       character codes are being eaten by the operating system or
  156.       network.  The    terminal program must be set to    display    all
  157.       256 codes in a distinct form.     Check that each code is sent,
  158.       and that the 8th bit on codes    0x80 to    0xFF is    set.
  159.  
  160.       Sz -T    then allows the    caller to input    characters which are
  161.       echoed in hex.  You should check that    all control characters
  162.       can be input this way.
  163.  
  164.  
  165.  
  166.       The meanings of the available    options    are:
  167.  
  168.       ++++    Instruct    the receiver to    append transmitted data    to an
  169.            existing    file (ZMODEM only).
  170.       aaaa    Instruct    the ZMODEM receiver to convert text file
  171.            format as appropriate for the receiving system.    Valid
  172.            only for    ZMODEM.
  173.       bbbb    (ZMODEM)    Binary override: transfer file without any
  174.            translation.
  175.       cccc    Instruct    the receiver to    change the pathname if the
  176.            destination file    exists.
  177.       dddd    Change all instances of "." to "/" in the transmitted
  178.            pathname.  Thus,    C.omenB0000 (which is unacceptable to
  179.            MSDOS or    CP/M) is transmitted as    C/omenB0000.  If the
  180.            resultant filename has more than    8 characters in    the
  181.            stem, a "." is inserted to allow    a total    of eleven.
  182.       eeee    Escape all control characters and the all ones
  183.            character (0xFF); normally only XON, XOFF, DLE, CR-@-
  184.            CR, and Ctrl-X are escaped.
  185.       ffff    Send Full pathname.  Normally directory prefixes    are
  186.            stripped    from the transmitted filename.
  187.       gggg    Send ESC-[-?-3-4-l to start DSZ from Kermit.
  188.       kkkk    (XMODEM/YMODEM) Send files using    1024 byte blocks
  189.            rather than the default 128 byte    blocks.     1024 byte
  190.            packets speed file transfers at high bit    rates.
  191.            (ZMODEM streams the data    for the    best possible
  192.  
  193.  
  194.  
  195.      Page 3                         (printed 7/17/94)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  203.  
  204.  
  205.  
  206.            throughput.)
  207.       LLLLNNNN   Use ZMODEM sub-packets of length    N.  A larger N (32 <=
  208.            N <= 1024) gives    slightly higher    throughput, a smaller
  209.            N speeds    error recovery.     The default is    128 below 300
  210.            baud, 256 above 300 baud, or 1024 above 2400 baud.
  211.       llllNNNN   Wait for    the receiver to    acknowledge correct data every
  212.            NNNN (32 <=    N <= 1024) characters.    This may be used to
  213.            avoid network overrun when XOFF flow control is
  214.            lacking.
  215.       nnnn    (ZMODEM)    Send each file if destination file does    not
  216.            exist.  Overwrite destination file if source file is
  217.            newer than the destination file.
  218.       NNNN    (ZMODEM)    Send each file if destination file does    not
  219.            exist.  Overwrite destination file if source file is
  220.            newer or    longer than the    destination file.
  221.       oooo    (ZMODEM)    Disable    automatic selection of 32 bit CRC.
  222.       pppp    (ZMODEM)    Protect    existing destination files by skipping
  223.            transfer    if the destination file    exists.
  224.       rrrr    (ZMODEM)    Resume interrupted file    transfer.  If the
  225.            source file is longer than the destination file,    the
  226.            transfer    commences at the offset    in the source file
  227.            that equals the length of the destination file.
  228.       rrrrrrrr   As above, but compares the files    (the portion common to
  229.            sender and receiver) before resuming the    transfer.
  230.       ttttttttiiiimmmm Change timeout to _t_i_m tenths of seconds.
  231.       uuuu    Unlink the file after successful    transmission.  Users
  232.            should not manually abort or skip file transfers    when
  233.            this option is used.
  234.       wwwwNNNN   Limit the transmit window size to N bytes (ZMODEM).
  235.       vvvv    Verbose causes a    list of    file names to be appended to
  236.            /tmp/szlog .  More v's generate more output.
  237.       xxxx    Count skipped files as errors.
  238.       yyyy    Instruct    a ZMODEM receiving program to overwrite    any
  239.            existing    file with the same name.
  240.       YYYY    Instruct    a ZMODEM receiving program to overwrite    any
  241.            existing    file with the same name, and to    skip any
  242.            source files that do have a file    with the same pathname
  243.            on the destination system.
  244.       ZZZZ    Use ZMODEM file compression to speed file transfer.
  245.  
  246.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  247.       Exit status is as follows: 0 for successful transfers.  1 if
  248.       unrecoverable    errors are detected.  2    if syntax errors or
  249.       file access problems are detected.  3    if the program was
  250.       terminated by    a caught interrupt.
  251.  
  252.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                         (printed 7/17/94)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  269.  
  270.  
  271.  
  272.       ZZZZMMMMOOOODDDDEEEEMMMM FFFFiiiilllleeee TTTTrrrraaaannnnssssffffeeeerrrr (Unix to    DSZ/ZCOMM/Professional-YAM)
  273.       %%%% sssszzzz ----aaaa ****....cccc
  274.       This single command transfers    all .c files in    the current
  275.       Unix directory with conversion (----aaaa) to end of    line
  276.       conventions appropriate to the receiving environment.     With
  277.       ZMODEM AutoDownload enabled, Professional-YAM     and ZCOMM
  278.       will automatically receive the files after performing    a
  279.       security check.
  280.  
  281.       %%%% sssszzzz ----YYYYaaaannnn ****....cccc    ****....hhhh
  282.       Send only the    .c and .h files    that exist on both systems,
  283.       and are newer    on the sending system than the corresponding
  284.       version on the receiving system, converting Unix to DOS text
  285.       format.
  286.  
  287.       ZZZZMMMMOOOODDDDEEEEMMMM CCCCoooommmmmmmmaaaannnndddd DDDDoooowwwwnnnnllllooooaaaadddd (Unix    to Professional-YAM)
  288.        cpszall:all
  289.           zcommand "c:;cd /yam/dist"
  290.           sz -ya $(YD)/*.me
  291.           sz -yb y*.exe
  292.           zcommand "cd /yam"
  293.           zcommandi    "!insms"
  294.       This Makefile    fragment uses zzzzccccoooommmmmmmmaaaannnndddd to issue    commands to
  295.       Professional-YAM to change current disk and directory.
  296.       Next,    sssszzzz transfers the ._m_e files from    the $YD    directory,
  297.       commanding the receiver to overwrite the old files and to
  298.       convert from Unix end    of line    conventions to PC-DOS
  299.       conventions.    The third line transfers some ._e_x_e files.  The
  300.       fourth and fifth lines command Pro-YAM to change directory
  301.       and execute a    PC-DOS batch file _i_n_s_m_s    . Since    the batch file
  302.       takes    considerable time, the zzzzccccoooommmmmmmmaaaannnnddddiiii form is used to allow
  303.       the program to exit immediately.
  304.  
  305.       XXXXMMMMOOOODDDDEEEEMMMM FFFFiiiilllleeee TTTTrrrraaaannnnssssffffeeeerrrr (Unix to    Crosstalk)
  306.       % ssssxxxx ffffoooooooo....cccc
  307.       EEEESSSSCCCC
  308.       rrrrxxxx ffffoooooooo....cccc
  309.       The above three commands transfer a single file from Unix to
  310.       a PC and Crosstalk.  This combination    is much    slower and
  311.       less reliable    than ZMODEM.
  312.  
  313.      EEEERRRRRRRROOOORRRR MMMMEEEESSSSSSSSAAAAGGGGEEEESSSS
  314.       "Caught signal 99" indicates the program was not properly
  315.       compiled, refer to "bibi(99)"    in rbsb.c for details.
  316.  
  317.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  318.       rz(omen), ZCOMM User's Manual, Professional-YAM User's
  319.       Manual, crc(omen), sq(omen), todos(omen), tocpm(omen),
  320.       tomac(omen), yam(omen)
  321.  
  322.       Compile time options required    for various operating systems
  323.       are described    in the source file.
  324.  
  325.  
  326.  
  327.      Page 5                         (printed 7/17/94)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  335.  
  336.  
  337.  
  338.      FFFFIIIILLLLEEEESSSS
  339.       32 bit CRC code courtesy Gary    S. Brown.
  340.  
  341.       sz.c,    crctab.c, rbsb.c, zm.c,    zmr.c, zmodem.h    Unix source
  342.       files
  343.  
  344.       /tmp/szlog stores debugging output (sz -vv)
  345.  
  346.      TTTTEEEESSSSTTTTIIIINNNNGGGG FFFFEEEEAAAATTTTUUUURRRREEEE
  347.       The command "sz -T file" exercises the AAAAttttttttnnnn sequence error
  348.       recovery by commanding errors    with unterminated packets.
  349.       The receiving    program    should complain    five times about
  350.       binary data packets being too    long.  Each time sssszzzz is
  351.       interrupted, it should send a    ZDATA header followed by
  352.       another defective packet.  If    the receiver does not detect
  353.       five long data packets, the AAAAttttttttnnnn sequence is not
  354.       interrupting the sender, and the MMMMyyyyaaaattttttttnnnn string in sssszzzz....cccc must
  355.       be modified.
  356.  
  357.       After    5 packets, sssszzzz stops the    "transfer" and prints the
  358.       total    number of characters "sent" (Tcount).  The difference
  359.       between Tcount and 5120 represents the number    of characters
  360.       stored in various buffers when the Attn sequence is
  361.       generated.
  362.  
  363.      SSSSEEEERRRRVVVVEEEERRRR////NNNNEEEETTTTWWWWOOOORRRRKKKK NNNNOOOOTTTTEEEESSSS
  364.       Terminals on some timesharing    systems    are connected
  365.       indirectly to    the host with TTTTEEEERRRRMMMMIIIINNNNAAAALLLL SSSSEEEERRRRVVVVEEEERRRRSSSS operating over
  366.       networks.  Terminal servers often interfere with file
  367.       transfers by "eating"    control    characters and/or losing data.
  368.  
  369.       Accessing a distant system using tttteeeellllnnnneeeetttt or rrrrllllooooggggiiiinnnn on a local
  370.       Unix system entails the same problems.  If you have a    choice
  371.       between tttteeeellllnnnneeeetttt and rrrrllllooooggggiiiinnnn try    rlogin with the    ----8888 option.
  372.       Set the escape character to ^P (control P) which is
  373.       protected by ZMODEM.
  374.  
  375.       When terminal    servers    interfere with file transfers, server
  376.       commands are often available to help the problem.  When
  377.       possible, enable the server and modems for hardware flow
  378.       control in and out.  Set the terminal    server to telnet
  379.       transparent mode.  Some typical commands are "SET TERMINAL
  380.       DOWNLOAD", "set session passall", and    "SET TERMINAL NO ESC",
  381.       but there is no standard set of commands suitable for    all
  382.       terminal servers.  Normally these commands are given before
  383.       attempting file transfers, but one user has reported that
  384.       the command must be given _a_f_t_e_r the file transfer is
  385.       started(!).  Until terminal server vendors improve the
  386.       quality of their product, you    may have to get    on their case
  387.       until    they adequately    support    high performance file
  388.       transfers.
  389.  
  390.  
  391.  
  392.  
  393.      Page 6                         (printed 7/17/94)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  401.  
  402.  
  403.  
  404.       Escaping control characters with ZMODEM (sz -e) may help if
  405.       the transfer gets stuck in the same place on every attempt.
  406.       Professional-YAM and ZCOMM allow selection of    which control
  407.       characters need to be    escaped.  In extreme cases 7-bit
  408.       transmission may be required (see the    Professional-YAM/ZCOMM
  409.       manual).  If you encounter problems with control characters
  410.       you should identify which control characters are causing the
  411.       problem.  Please refer to the    sz -T command in sz.doc    for
  412.       more help.
  413.  
  414.       Flow control between the server and modem is often
  415.       defective.  This rarely causes a problem in interactive
  416.       applications whose short bursts (a screenfull    at most) fit
  417.       within the available memory buffers.    Streaming protocols
  418.       such as YMODEM-g, long packet    SuperKermit, and ZMODEM    can
  419.       overload the available buffering.  Some terminal servers
  420.       support commands to enable hardware flow control such    as
  421.       "TERM    FLOWCONTROL HARDWARE IN    OUT"; this assumes the modem
  422.       attached to the server is properly configured.
  423.  
  424.       If the terminal server is too    brain damaged to support flow
  425.       control, ZMODEM lets you fake    it by setting a    window size.
  426.       Try
  427.            sz -w2048 file...
  428.       to enable software flow control.  Experiment with different
  429.       window sizes for best    results.
  430.  
  431.       Terminal servers are designed    to accept keyboard input from
  432.       human    operators.  They may lose data when a program sends
  433.       more data to the host    faster than humans type.  Some servers
  434.       allow    larger input buffers to    support    file uploads.  If you
  435.       can upload short files (less than 100    bytes) but not longer
  436.       files, try
  437.            sz -w1024 file...
  438.       with your uploading program.    (Not all programs support this
  439.       option; use ZCOMM or Professional-YAM.)
  440.  
  441.       When both flow control and character transparency are
  442.       problems, use
  443.            sz -ew1024 file...
  444.       as a starting    point.
  445.  
  446.       Sometimes the    terminal server    software is defective and must
  447.       be corrected.     Please    contact    the network's vendor for
  448.       corrective procedures.  An alternative is to install direct
  449.       serial ports for users desiring to upload files.
  450.  
  451.       We have also encountered problems when networking software
  452.       fails    to pass    data after a large amount of data has been
  453.       sent to the host.  This has happened on a PPP    internet
  454.       connection which prevented uploads of    large amounts of data
  455.       via either FTP or a ZMODEM upload (via TELNET).  The PPP
  456.  
  457.  
  458.  
  459.      Page 7                         (printed 7/17/94)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  467.  
  468.  
  469.  
  470.       connection grinds to a standstill and    not even PING works.
  471.       The same ZMODEM/TELNET combination easily uploaded ten times
  472.       as much to a nearby machine connected    by Ethernet.
  473.  
  474.  
  475.      PPPPOOOORRRRTTTT WWWWAAAATTTTCCCCHHHHEEEERRRRSSSS
  476.       Some systems enforce a timeout which disconnects a user
  477.       after    several    minutes    of keyboard inactivity.     Long, error
  478.       free ZMODEM transfers    do not generate    keyboard activity
  479.       (this    is why ZMODEM is so efficient).     Restricting the
  480.       window size with
  481.            sz -w16384 file...
  482.       option generates terminal input at regular intervals even
  483.       when no error    correction is needed.  If problems persist,
  484.       try setting a    packet length.
  485.            sz -l1024 file...
  486.       (The default ZMODEM packet length is the file    length.)
  487.  
  488.      NNNNOOOOTTTTEEEESSSS
  489.       Particular attention must be paid to flow control.  The
  490.       modem    and Unix must agree on the flow    control    method.     Sz
  491.       does not set or reset    flow control modes (if any).  Most
  492.       Unix systems use XON/XOFF ("software") flow control.
  493.  
  494.       Telebit modems must not be set to "spoof" UUCP, XMODEM,
  495.       YMODEM, or KERMIT.  Setting one of these spoofing modes
  496.       interferes with other    protocols.  Telebit's YMODEM spoofing
  497.       interferes with YMODEM transfers.
  498.  
  499.       If a program that does not properly implement    the specified
  500.       file transfer    protocol causes    _s_b to "hang" the port after a
  501.       failed transfer, either wait for _s_b to time out or keyboard
  502.       a dozen Ctrl-X characters.  Every reported instance of this
  503.       problem has been corrected by    using ZCOMM, Pro-YAM, DSZ, or
  504.       other    program    with a correct implementation of the specified
  505.       protocol.
  506.  
  507.       Many programs    claiming to support YMODEM only    support    XMODEM
  508.       with 1k blocks, and they often don't get that    quite right.
  509.       XMODEM transfers add up to 127 garbage bytes per file.
  510.       XMODEM-1k and    YMODEM-1k transfers use    128 byte blocks    to
  511.       avoid    extra padding.
  512.  
  513.       YMODEM programs use the file length transmitted at the
  514.       beginning of the transfer to prune the file to the correct
  515.       length; this may cause problems with source files that grow
  516.       during the course of the transfer.  This problem does    not
  517.       pertain to ZMODEM transfers, which preserve the exact    file
  518.       length unconditionally.
  519.  
  520.       Most ZMODEM options are merely passed    to the receiving
  521.       program; some    programs do not    implement all of these
  522.  
  523.  
  524.  
  525.      Page 8                         (printed 7/17/94)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      SSSSZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         SSSSZZZZ((((1111))))
  533.  
  534.  
  535.  
  536.       options.
  537.  
  538.       Circular buffering and a ZMODEM sliding window should    be
  539.       used when input is from pipes    instead    of acknowledging
  540.       frames each 1024 bytes.  If no files can be opened, sssszzzz sends
  541.       a ZMODEM command to echo a suitable complaint; perhaps it
  542.       should check for the presence    of at least one    accessible
  543.       file before getting hot and bothered.
  544.  
  545.       Unix Professional-YAM    provides higher    performance and    other
  546.       features not supported by _s_z.    Please contact Omen Technology
  547.       Inc for product information.
  548.  
  549.       Omen Technology INC
  550.       503-621-3406
  551.       Post Office Box 4681
  552.       Portland OR 97208
  553.  
  554.  
  555.      BBBBUUUUGGGGSSSS
  556.       On at    least one BSD system, sz would abend it    got within a
  557.       few kilobytes    of the end of file.
  558.       Using    the "-w8192" option fixed the problem.    The real cause
  559.       is unknown, perhaps a    bug in the kernel TTY output routines.
  560.  
  561.       The test mode    leaves a zero length file on the receiving
  562.       system.
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.      Page 9                         (printed 7/17/94)
  592.  
  593.  
  594.  
  595.